package main

import "fmt"

func main() {
	var level = 9
	func1(level)
	func2(level)

}

func func1(level int) {
	for i := 1; i <= level; i++ {
		for j := 1; j <= level; j++ {
			fmt.Printf("%d*%d=%d\t", i, j, (i * j))
		}
		fmt.Println("")
	}
}

func func2(level int) {
	for i := 1; i <= level; i++ {
		for j := 1; j <= i; j++ {
			fmt.Printf("%d*%d=%d\t", i, j, (i * j))
		}
		fmt.Println("")
	}
}

